home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
pcbdiz11.zip
/
PCBTEST.BAT
< prev
Wrap
DOS Batch File
|
1992-01-22
|
840b
|
42 lines
@echo off
if exist pcbpass.txt del pcbpass.txt
if exist pcbfail.txt del pcbfail.txt
if %@ext[%1]==gif goto gif
if %@ext[%1]==zip goto zip
if %@ext[%1]==arj goto zip
if %@ext[%1]==lzh goto zip
goto crc
:gif
if %2 == test goto gift
giftest %1 /A/F:%3/B:2 > PCBPASS.TXT
if errorlevel == 25 goto badgif
if errorlevel == 20 goto badgif
if errorlevel == 10 goto end
if errorlevel == 1 goto badgif
goto end
:gift
> PCBPASS.TXT
giftest %1 /E/B:2/F:%3/M:321x201x16
if not exist %1 goto badgif
goto end
:badgif
move PCBPASS.TXT PCBFAIL.TXT
goto end
:zip
ptest %1 ptest.cfg
if %2 == test goto end
rem Add FILE_ID.DIZ files and file information.
pcbdiz %1 %3 /AV/D/U/A:Tested with ZipLab 1.9b
:crc
if exist pcbpass.txt del pcbpass.txt
proecho 1 ~Adding %@name[%1] to CRC database...
zdcsfc %1 %2 %3
:end